002 the development environment
大家好,在本节中我们要开始了解高级 HDMI。
Hey everybody in this section we want to start looking at advanced HDMI.
所以我现在就开始加载。
So I'm going to go ahead and get that loading up right now.
然后,在本次讲座中,我们将真正了解环境并尝试熟悉它,然后再深入讨论。
And then this lecture we're just going to really be looking at the environment and trying to get familiar with it before we go too far into this.
关于高级 Chimay,我想介绍几件事。
There's a couple of things I want to lay out about advanced Chimay.
第一个是我在实际项目中使用过这个吗?
The first one is have I ever used this on a real project.
答案是否定的。
And the answer is absolutely not.
事实上,我个人从未见过有人在真正的商业项目中使用高龄。
In fact I've never actually personally seen anybody use advanced age in my on a real commercial project.
在学习了这一点并研究了一点并用它开发了一些东西之后,我确实喜欢高级阶段。
And after learning this and studying a little bit and developing some things with it do I like advanced stage.
或者我推荐什么。
Or what I recommend it.
答案是除个人用途之外的任何用途。
And the answer to that is for anything other than personal use.
可能不会。
Probably not.
原因如下。
Here's why.
每当你看到高龄的他时,我都会发现有一些有利的因素,也有很多不利的因素。
Whenever you look at advanced age him-I it has a couple of things going for it and it has a lot of things going against it.
它的目的首先是它是免费的。
What it's got going for it is first and foremost it's free.
您可以使用这个东西并进行试验,您可以用它构建东西并部署这些应用程序,而无需花任何钱。
You can use this thing and experiment with it and you can build things with it and deploy those applications and you don't have to spend any money.
所以这样很好。
So that's good.
您可以将其连接到模拟器或真实的 PC,您可以看到内部发生的情况,并且可以发送您真正需要从 NATO 获得的所有信息。
You can connect this to emulate or to a real PC and you can see what's going on inside and you can send information in which is really all you actually need from NATO.
我的。
My.
因此,就老年而言,您知道也许是最好的价值,因为它是免费的。
So as far as that goes advanced age is you know maybe the best value out there because it's free.
既然如此,我对此有一些反对。
Now that being the case here are some strikes I have against it.
第一个是因为它实际上只是一个 Visual Studio 或 Visual Basic 应用程序,要使用这个东西你必须安装 Visual Studio,而 Visual Studio 是一个令人讨厌的马虎之痛,它占用了大量的磁盘空间。
The first one is because it's really just a visual studio or visual basic application to use this thing you have to install Visual Studio and Visual Studio is a big nasty sloppy pain in the butt which takes up a lot of disk space.
正如您已经看到的,加载到您的计算机上需要一分钟左右的时间。
And as you've already seen takes a minute or so just to load on your computer.
所以这有点令人失望。
So that's kind of a bummer.
我反对的第二件事是,就我的应用程序而言,它确实非常有限。
The second thing I have against it is as far as an h my application goes it's really pretty limited.
它没有内置警报。
It doesn't have built in alarms.
它没有内置的数据管理,这对于 Visual Studio 中内置的东西来说非常好,你知道这些有很多东西,比如趋势以及各种有用的东西,我们将在哪里轻松看到它们我们在工厂谈话 View 的工作室中看到的以及更多你会说的,我该怎么做,我如何在我的前期阶段为事物制作动画。
It doesn't have built in data management which would be really nice for something that's built in Visual Studio and you know those are a lot of things like trending and just all kinds of useful things that we're going to see an easy where and that we've seen in factory talk View's studio and more that you're going to say well how do I do this how do I animate things in advance stage of my.
答案是,你不需要,你可以只创建一些显示,并且可以创建一些控件。
And the answer is Well you don't you can just create some displays and you can create some controls.
现在,如果您是一名 Visual Basic 开发人员,并且您知道自己拥有编程知识和经验,那么您可以进入高级阶段,您可以对其进行编程以完成各种伟大的事情,但开箱即用它并不能做到这一点那些人和我们大多数人都不是。
Now if you're a visual basic developer and you know you have that programming knowledge and experience then you can jump into advanced stage and you can program it to do all kinds of great things but right out of the box it just doesn't do those and most of us are not.
VB 开发人员是自动化人员和人们看到程序员的地方,哈我的开发人员,如果我们想成为计算机程序员,我们可能会编程计算机而不是机器。
VB developers where automation people and where people see programmers and were Ha my developers you know if we wanted to be computer programmers we'd probably be out programming computers instead of machines.
当你看到这个界面时,你立刻就会知道,哇,你知道,好吧,它很漂亮,看起来不错,但你知道这是什么,你知道应用程序配置,你知道一个示例我和文件,你知道我到底在看什么这里。
You know right away when you look at this interface you say wow you know OK it's pretty it looks good but you know what is all this you know app config and you know a sample I and files and you know what on earth am I looking at here.
答案是您知道您看到的不是自动化开发环境,而是编程环境。
And the answer is you know you're not looking at an automation development environment you are looking at a programming environment.
所以这是一种非常不同的野兽。
So this is a very different kind of beast here.
我要提请您注意的一件事是在这个解决方案资源管理器上,如果您单击文档,这里会出现很多 PTF。
One thing that I will draw your attention to is over here on this solution explorer if you click into documents there are a lot of PTF over here.
因此,如果您真的想进入高级第二阶段并更深入地了解一下,您知道您可以首先查看的地方之一就在这里,并获得一些您知道如何使用该系统的快速信息。
So if you really want to get into advanced stage II and look a little bit deeper you know one of the first places you can look is right over here and get some you know really quick information on how to use the system.
我建议你做的第二件事是去高级 H.
The second thing I would suggest you do is go to advanced H.
我的.com,他们有论坛的教程视频和一些基本的东西。
My dot com and they have tutorial videos of forum and some basic things there.
你也可以去YouTube搜索视频,你可以找到更多关于高级阶段的内容。
You can also go onto YouTube and search videos and you can find out some more things about advanced stage.
我的,但现在让我们开始看看什么对我们来说是重要的。
My but for the time being right now let's just start looking at what matters to us.
我们真正要用来开发 HMD 的整个大环境中实际上只有几个部分,第一个是在这个主窗口中,这是我们看到 Wigg 窗口的地方,或者所见即所得窗口,这就是我们屏幕的代表。
And there are really only a few pieces of this whole big environment that we're really going to be using to develop HMD the first one is in this main window right here this is where we see Wigg window or what you see is what you get window and this right here this is a representation of our screen.
所以我们将使用这个表单对象来实际开发我们的屏幕。
So we're going to be using this form object to actually develop our screens.
您可以看到,我们已经让您了解了这里的一些文字,并且这里有一个图形。
And you can see we've already got you know a little bit of text on here and we've got a graphic on here.
这些可以删除,所以我只需单击它并按键盘上的删除键即可将其删除。
And those can just be deleted so I can just click on that and hit the delete key on my keyboard to get rid of it.
但现在只需按 Control Z 将其恢复,因为我们还没有准备好摆脱它或做任何事情。
But for now just hit Control Z to bring it back because we're not ready to get rid of it or do anything yet.
关于开发一把迈尔斯椅子,你想知道的第二件事是你是否向左看。
The second thing that you're going to want to know about to develop a chair Miles is if you look over here to the left.
我有一个隐藏的选项卡,上面写着工具箱。
I've got this hidden tab that says tool box.
当我点击它时,就会出现一些听起来很熟悉的东西,我们有 HDMI 驱动程序。
And when I click on that that's going to bring up things that start to sound familiar for us we've got HDMI drivers.
我们知道驱动程序是什么。
Well we know what drivers are.
这些是为了建立我们的通信,所以你知道我们现在正在研究一些重要的东西,然后我们有控制组件。
Those are for setting up our communications so you know now we're getting into some important stuff and then we have controls components.
这就是我们在本课程中将花费几乎所有时间的地方。
And this is where we're going to spend pretty much all of our time in this course.
其余的大部分内容我们实际上不会讨论,因为它谈论的是打印组件,并且您知道用于农场管理的不同容器以及类似的东西。
Most of the rest of these things we're really not going to get into because it's talking about printing components and you know different containers for farm management and things like that.
但看看我们这里有什么。
But look at what we've got here.
我们有按钮、温度控制器、储罐、堆叠灯、管道仪表。
We've got buttons temperature controllers tanks stacked lights piping meters.
因此,这就是我们将把控件和显示设备拉出来并将它们带入屏幕并进行开发的地方。
So this is where we're going to be pulling our controls and our display devices out of and bringing those over into the screen and developing them.
当我们使用这个环境时,我们想知道的下一件事情是在右下角。
The next thing that we want to know about while we're using this environment is down here in the bottom right.
我们已经有了这个属性资源管理器,我们将在这里配置我们在项目中使用的控件、显示器和驱动程序。
We've got this properties Explorer and this is where we're going to be configuring the controls and displays and drivers that we're using in our project.
不幸的是,当你看到它时,你会发现一大堆令人生畏的清单,其中有一堆几乎不会使用的东西。
The unfortunate thing about this is when you look at it there's a big intimidating list of a bunch of things that were pretty much not going to be using.
因此,如果我在这里拉一些东西,比如一个基本标签,我只需将其拖到这里并放下它即可。
So if I pull something in here like let's say a basic label and I just drag this over here and drop it.
现在我已经有了这个基本标签。
Well now I've got this basic label.
我这里有什么。
And what do I have here.
可能有大约一百种不同的属性。
Probably about a hundred different properties.
就在 PLCC 属性这里。
And down here at PLCC properties.
好的。
OK.
现在这对我来说很有用,但其余的大部分实际上是我们不会使用的东西,这只是尝试自定义此显示的详尽方法。
Now this is something that's useful for me but all of the rest of this for the most part is really things that we're just not going to be using and it's just an exhaustive way to try to customize this display.
你又知道,如果你不是开发人员,并且你不习惯查看这样的界面,那么学习过程中真的很痛苦,你知道有多少人知道什么是填充以及后面的四个值代表什么以及什么这四个值的单位。
And you know again if you're not a developer and you're not used to looking at interfaces like this it's just a real pain in the butt learning you know how many people know what is padding and what the four values afterward represent and what units those four values are in.
您知道我不会详细介绍所有这些,但您很清楚修饰符朋友,这对我作为 HDMI 开发人员意味着什么。
And you know I'm not going to go through all of these but you know modifiers friend well what does that mean to me as an HDMI developer.
嗯,这对我个人来说没有任何意义。
Well it doesn't mean anything to me personally.
你知道这就是我反对的一点,你知道这确实是一个免费的好项目,但哇你知道这对我们来说有多么复杂,因为我们真的不需要使用或看到所有这些。
You know that's kind of what I have against this is you know it really is a nice project for something that's free but wow you know what a lot of complexity for us because we don't really need to use or see all of that.
我们真正要涉及的唯一其他事情是同伴。
The only other things that we're really going to get into is peer.
这是我们要启动项目并使其运行的地方。
This is where we're going to start the project to get it running.
只是为了实际了解我们所处的位置并使其连接并上线。
Just to actually see where we're at and get it to connect and go live.
我们将尽量不要成为 Visual Basic 程序员,我请求您不要给我发消息或发电子邮件说嘿,保罗,您知道我如何编写一些 Visual Basic 代码来执行此操作或执行其他操作。
We're going to try not to become visual basic programmers and I beg you please do not message me or e-mail me saying Hey Paul you know how do I write some visual basic code to do this or to do something else.
我不是 Visual Basic 程序员。
I am not a visual basic programmer.
我不是高级阶段,也不是我的专家。
I am not an advanced stage and my expert.
在完成接下来的几堂讲座以及本节和下一节之后,我想您可能会决定您也不想成为其中之一。
And after going through the next few lectures and this and the next section I think you'll probably decide that you maybe don't want to be either.
这并不是我非常推荐的解决方案,但它对于学习一些基本概念很有好处。
This just isn't a solution that I would recommend for very much but it's good for learning some basic concepts.
这对于免费练习很有好处,你永远不知道你可能只有一个非常简单的项目,或者一个非常注重预算的客户想要一些你可以在我的提前阶段花五分钟就能完成的东西,而且不会花你一分钱。
It's good for practicing for free and you never know you might just have that really simple project or that extremely budget conscious customer that wants something that you could just whip up in advance stage of my for five minutes and it wouldn't cost you a penny.
如果是这样的话,高级阶段确实是你工具箱里的一件好事。
And if that's the case man advanced stage is a really good thing to have in your tool box.
这就是本次讲座的内容。
So that's it for this lecture.
我只是想向您介绍一下环境,我们将在下一个中加入并实际上开始保存一些东西,以便我们到时候见。
I just wanted to kind of introduce you to the environment and we will jump in in the next one and actually start saving some things up so I'll see you then.
干杯
Cheers